package com.weipai.springboot.module.mapper;

import com.weipai.springboot.model.CustomerBank;

import java.util.List;

public interface CustomerBankMapper {
    int deleteByPrimaryKey(String idCardId);

    int insert(CustomerBank record);

    int insertSelective(CustomerBank record);

    CustomerBank selectByPrimaryKey(String idCardId);

    int updateByPrimaryKeySelective(CustomerBank record);

    int updateByPrimaryKey(CustomerBank record);

    //获取用户的银行卡
    List<CustomerBank> getBankByCustomerId(String id);

    CustomerBank getBankByBankCard(String bankCard);
}